<?php
include_once("../codelibrary/inc/variables.php");
include_once("../codelibrary/inc/functions.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META NAME="generator" CONTENT="WebObjects 4.5.1">
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<TITLE>AppointmentQuest Account Enrollment</TITLE>
<LINK REL="STYLESHEET" TYPE="TEXT/CSS" HREF="../images/master.css">
<script src="../codelibrary/js/common.Js" type="text/javascript"></script>
<script type="text/javascript">
var iDelTotalChecked=0
	function objDelChecked(chk)
	{
		if(chk.checked==true)
			iDelTotalChecked=1
		else
			iDelTotalChecked=0
	}
function ConfirmChoice() 
	{ 
		if(iDelTotalChecked==0)
		{
			alert("Please Accept Appointment Quest Terms And Conditions.");
			return false; 
		}
		else
		{
		    return true; 
		}
	}
function submitform()
{
    
	
	if(ValidateForm(document.enrollmentForm))
	{
	    return true;
	}
	else
	{
	    return false;
	}
}

function goself(regionval)
{
   
   document.enrollmentForm.action="accountenrollment.php?region="+regionval;
   document.enrollmentForm.submit();
}
function refresh_page(val)
{
   
   document.enrollmentForm.action="accountenrollment.php?val="+val;
   document.enrollmentForm.submit();
}
var win=null;
function opWin() {
  if(win==null || win.closed) {
    win=window.open("", "newwin", "width=300, height=200");
	win.moveTo(0,0);
    win.document.write("<html><head><LINK REL=\"STYLESHEET\" TYPE=\"TEXT/CSS\" HREF=\"../images/master.css\"><title>Appointment Confirmation</title><\/head>");
    win.document.write("<body><input CLASS='SUBMITBUTTON' type='button' value='OK' onclick='window.close();opener.document.page.submit();'><\/input> ");
    win.document.write("<input type='button' CLASS='SUBMITBUTTON' value='Cancel' onclick='window.close();opener.location=\"cancelpage.php\";'><\/input><\/body><\/html>");
  }
  win.focus();
}
</script>
</HEAD>
<BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<DIV CLASS=NOPRINT>
  <TABLE CELLPADDING=0 BORDER=0 CELLSPACING=0 WIDTH=100%>
    <TR>
      <TD COLSPAN=4 HEIGHT=10 CLASS=HEADER><IMG border=0 src="../images/tp.gif" width="1" height="1"></TD>
    </TR>
  </TABLE>
  <TABLE CELLPADDING=0 BORDER=0 CELLSPACING=0 WIDTH=100%>
    <TR>
      <TD ROWSPAN=3 WIDTH=10>&nbsp;</TD>
      <TD ROWSPAN=3 VALIGN=MIDDLE ALIGN=CENTER><A href="/" class="" target=""><IMG border=0 alt="" src="../images/aq.gif" width="205" height="74"></a></TD>
      <TD ROWSPAN=3 WIDTH=10>&nbsp;</TD>
      <TD VALIGN=MIDDLE><IMG border=0 src="../images/tp.gif" width="1" height="1">
        <?php include_once("topmenu.php");?></TD>
    </TR>
    <TR>
      <TD VALIGN=MIDDLE CLASS=IMAGECELL BACKGROUND="../images/sw.jpg" NOWRAP><I><IMG border=0 src="../images/tp.gif" width="1" height="6"></I><BR>
        <SPAN CLASS=TITLE>Trial Account Enrollment</SPAN></TD>
    </TR>
    <TR>
      <TD VALIGN=MIDDLE ALIGN=RIGHT><SPAN CLASS=TITLE>
        <DIV CLASS=MINI><IMG border=0 src="../images/tp.gif" width="200" height="1"> <IMG border=0 src="../images/tp.gif" width="200" height="1"> <IMG border=0 src="../images/tp.gif" width="200" height="1"> <IMG border=0 src="../images/tp.gif" width="200" height="1"> <IMG border=0 src="../images/tp.gif" width="200" height="1"> <IMG border=0 src="../images/tp.gif" width="200" height="1"></DIV>
        </SPAN></TD>
    </TR>
  </TABLE>
  <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
    <TR>
      <TD CLASS=DIVIDER><IMG border=0 src="../images/tp.gif" width="750" height="1"></TD>
    </TR>
  </TABLE>
</DIV>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=10>
  <TR>
    <TD ALIGN=CENTER><FORM method=post action="accountenrollment_submit.php"  name="enrollmentForm" onSubmit="return submitform();">
        <INPUT border=0 type=image  src="../images/tp.gif" width="1" height="1">
        <TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
          <TR>
            <TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE CLASS=PANELHEADER><IMG border=0 src="../images/tp.gif" width="1" height="1"></TD>
            <TD ALIGN=LEFT VALIGN=MIDDLE CLASS=PANELHEADER><IMG border=0 src="../images/tp.gif" width="1" height="1"></TD>
          </TR>
          <TR>
            <TD NOWRAP WIDTH=30% VALIGN=MIDDLE HEIGHT=20 ALIGN=LEFT CLASS=PANELHEADER>&nbsp;&nbsp;Create FREE TRIAL Online Appointment Manager Account&nbsp;&nbsp;&nbsp;&nbsp;</TD>
            <TD HEIGHT=20 CLASS=SIDEBAR><IMG border=0 src="../images/tp.gif" width="1" height="1"></TD>
          </TR>
        </TABLE>
        <BR>
        <IMG border=0 src="../images/tp.gif" width="700" height="1">
        <DIV ALIGN=LEFT>
		<?php 
		if(isset($err))
		{
		?>
		 <TABLE CLASS=REDBACKGROUND BORDER=0 CELLPADDING=1 CELLSPACING=0 WIDTH=90% ALIGN=CENTER>
            <TR>
              <TD><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2>
                  <TR>
                    <TD ALIGN=CENTER CLASS=WHITELINK>&nbsp;<B>Unable to proceed. Please correct the following error:</B>&nbsp;</TD>
                  </TR>
                  <TR>
                    <TD CLASS=WHITE><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=10>
                        <TR>
                          <TD ALIGN=LEFT>
						  <?php 
						  if($err=="termsnotaccepted")
						  {
						  ?>
						  <LI>Please Accept AppointmentQuest Terms And Conditions Of Service</LI>
						  <?php 
						  }
						  elseif($err=="alreadyexists")
						  {
						  ?>
						  <LI>Please Enter A Different UserName</LI>
						  <?php
						  }
						  ?>
						  </TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                </TABLE></TD>
            </TR>
          </TABLE>
		 <?php
		 }
		 ?>
		  
          <INPUT TYPE="HIDDEN" NAME="SignupFormContentAccessCount" VALUE="1">
          <TABLE WIDTH=90% BORDER=0 CELLSPACING=0 CELLPADDING=0 ALIGN=CENTER>
            <TR>
              <TD><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                  <TR>
                    <TD COLSPAN=3><TABLE ALIGN=RIGHT BORDER=0 CELLSPACING=0 CELLPADDING=0>
                        <TR>
                          <TD WIDTH=20>&nbsp;</TD>
                          <TD><TABLE CELLPADDING=4 BORDER=0 CELLSPACING=0 CLASS=HEADER>
                              <TR>
                                <TD CLASS=INPUT><TABLE CELLPADDING=2 BORDER=0 CELLSPACING=5>
                                    <TR>
                                      <TD><A href="http://www.bbbonline.org/cks.asp?id=105072817512" target="AQDetached" onClick="window.open('about:blank','AQDetached','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=775,height=575').focus();"><IMG border=0 ALT="BBB: Click to Verify" src="../images/bbbb.gif" width="90" height="31"></a></TD>
                                      <TD><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/PrivacyPolicyLinkAction?wosid=BF5ZTTy4p91z3GZiXtU19RURSKm&detached=1" onClick="window.open('about:blank','AQDetached','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=775,height=575').focus();" target="AQDetached"><IMG border=0 src="../images/finalmark.gif" width="116" height="31"></a></TD>
                                    </TR>
                                  </TABLE></TD>
                              </TR>
                            </TABLE></TD>
                        </TR>
                        <TR>
                          <TD COLSPAN=2>&nbsp;</TD>
                        </TR>
                      </TABLE>
                      Open your <SPAN CLASS=REDLINK>AppointmentQuest Online&nbsp;Appointment&nbsp;Manager</SPAN> account in one easy step. Please complete enrollment form below (all fields are required), review <A href="../terms.php" target="AQDetached" onClick="window.open('about:blank','AQDetached','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=775,height=575').focus();" class="">AppointmentQuest Terms and Conditions of Service</a>, and then click on &quot;Create Account&quot; button at the bottom of this page. To sign up for a regular Online&nbsp;Appointment&nbsp;Manager account, <A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/regular?wosid=NO">please&nbsp;click&nbsp;here</a>.<BR>
                      <BR></TD>
                  </TR>
                  <TR>
                    <TD COLSPAN=3 CLASS=HEADER>&nbsp;Software&nbsp;Edition</TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL WIDTH=30%>Region:</TD>
                    <TD ALIGN=LEFT WIDTH=35% CLASS=VALUE NOWRAP>&nbsp;<SPAN CLASS=SELECTEDTAB>
                      <?php
								if(isset($_GET['region']) && $_GET['region']=='Switch to International Edition')
								{
								?>
                      World - International Edition
                      <?php 
								}
								else
								{
								 ?>
                      North America (United States and Canada)
                      <?php  
								}
								?>
                      </SPAN>&nbsp;</TD>
                    <TD ALIGN=CENTER CLASS=VALUE WIDTH=35%><?php
								if(isset($_GET['region']) && $_GET['region']=='Switch to International Edition')
								{
								?>
                      <input type="button" TABINDEX=101 CLASS=WIDESUBMITBUTTON STYLE="width:100%" value="North America (United States and Canada)" onClick="goself('North America (United States and Canada)');">
                      <?php 
								}
								else
								{
								 ?>
                      <input type="button" TABINDEX=101 CLASS=WIDESUBMITBUTTON STYLE="width:100%" value="Switch to International Edition" onClick="goself('Switch to International Edition');">
                      <?php  
								}
								?>
                      <!--<INPUT type=submit TABINDEX=101 CLASS=WIDESUBMITBUTTON STYLE="width:100%" value="Switch to International Edition" name="TR_Region"> -->
                    </TD>
                  </TR>
                </TABLE>
                <?php
								if(isset($_GET['region']) && $_GET['region']=='Switch to International Edition')
								{
								?>
                <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                  <TR>
                    <TD COLSPAN=2 CLASS=HEADER>&nbsp;Account&nbsp;Information</TD>
                  </TR>
                  <TR>
                    <TD WIDTH=30% CLASS=LABEL NOWRAP ALIGN=RIGHT><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Business%2520Category" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Business Category</a>:</TD>
                    <TD CLASS=INPUT WIDTH=70%><INPUT TYPE="HIDDEN" NAME="TR_BusinessCategory" VALUE="<?=$TR_BusinessCategory;?>">
                      <NOBR>
                      <SELECT style="width:99%;" name="TR_BusinessCategory">
                        <?php

									foreach($array_business_category as $key=>$value)
									{
									  
									?>
                        <OPTION <? if($key!=0){?> value="<?=$key;?>" <? }?> <? if(isset($TR_BusinessCategory) && $TR_BusinessCategory==$key){echo "selected";}?>>
                        <?=$value;?>
                        </OPTION>
                        <?php
									}
									?>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT NOWRAP CLASS=LABEL WIDTH=30%><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Business%2520Name" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Business Name</a>:</TD>
                    <TD CLASS=INPUT WIDTH=70%><INPUT TYPE="HIDDEN" NAME="TR_Company" VALUE="<?=$TR_Company;?>">
                      <NOBR>
                      <INPUT name="TR_Company" size="40" class="WIDETEXTINPUT" type="TEXT" maxlength="100" value="<? if(isset($TR_Company))echo $TR_Company;?>">
                      </NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP VALIGN=TOP><IMG src="../images/tp.gif" width="1" height="1"><BR>
                      <A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Address" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Address</a>:</TD>
                    <TD CLASS=INPUT><TABLE BORDER=0 CELLSPACING=1 CELLPADDING=2>
                        <TR>
                          <TD ROWSPAN=4>&nbsp;&nbsp;</TD>
                          <TD ALIGN=RIGHT>Street:</TD>
                          <TD COLSPAN=3><INPUT TYPE="HIDDEN" NAME="TR_Street" VALUE="<?=$TR_Street;?>">
                            <NOBR>
                            <INPUT name="TR_Street" size="40" style="width:100%" type="TEXT" maxlength="60" value="<? if(isset($TR_Street))echo $TR_Street;?>">
                            </NOBR></TD>
                          <TD ROWSPAN=4>&nbsp;&nbsp;&nbsp;&nbsp;</TD>
                        </TR>
                        <TR>
                          <TD ALIGN=RIGHT>City:</TD>
                          <TD><INPUT TYPE="HIDDEN" NAME="TR_City" VALUE="<?=$TR_City;?>">
                            <NOBR>
                            <INPUT name="TR_City" size="20" style="width:150px" type="TEXT" maxlength="40" value="<? if(isset($TR_City))echo $TR_City;?>">
                            </NOBR></TD>
                          <TD ALIGN=RIGHT>&nbsp;&nbsp;&nbsp;&nbsp;State/Province:</TD>
                          <TD ALIGN=LEFT><INPUT TYPE="HIDDEN" NAME="TR_State" VALUE="<?=$TR_State;?>">
                            <NOBR>
                            <INPUT name="TR_State" size="20" type="TEXT" maxlength="40" value="<? if(isset($TR_State))echo $TR_State;?>">
                            </NOBR></TD>
                        </TR>
                        <TR>
                          <TD ALIGN=RIGHT>Country:</TD>
                          <TD COLSPAN=3><INPUT TYPE="HIDDEN" NAME="TR_Country" VALUE="<?=$TR_Country;?>">
                            <NOBR>
                            <SELECT style="width:100%;" name="TR_Country">
                                <?php

									foreach($ar_country_WI as $key=>$value)
									{
									  
								?>
								  <OPTION <? if($key!=0){ ?> value="<?=$value;?>" <? } ?> <? if(isset($TR_Country) && $TR_Country==$value){echo "selected";}?>>
								  <?=$value;?>
								  </OPTION>
								<?php
									}
							   ?>
                            </SELECT>
                            <SUP></SUP></NOBR></TD>
                        </TR>
                        <TR>
                          <TD ALIGN=RIGHT>&nbsp;</TD>
                          <TD ALIGN=RIGHT>ZIP/Postal&nbsp;Code:</TD>
                          <TD COLSPAN=2><INPUT TYPE="HIDDEN" NAME="TR_Zip" VALUE="<?=$TR_Zip;?>">
                            <NOBR>
                            <INPUT name="TR_Zip" size="26" type="TEXT" maxlength="20" value="<? if(isset($TR_Zip))echo $TR_Zip;?>">
                            </NOBR></TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Time%2520Zone" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Time Zone</a>:</TD>
                    <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TR_TimeZone" VALUE="<?=$TR_TimeZone;?>">
                      <NOBR>
                      <SELECT style="" name="TR_TimeZone">
                        <?php

									foreach($array_time_zone_WI as $key=>$value)
																{
																  
																?>
                        <OPTION <? if($key!=0){ ?> value="<?=$value;?>" <? } ?> <? if(isset($TR_TimeZone) && $TR_TimeZone==$value){echo "selected";}?>>
                        <?=$value;?>
                        </OPTION>
                        <?php
																}
																?>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT NOWRAP CLASS=LABEL><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Membership" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Trial Membership</a>:</TD>
                    <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TR_TrialMemberShip" VALUE="<?=$TR_TrialMemberShip;?>">
                      <NOBR>
                      <SELECT style="width:99%;" name="TR_TrialMemberShip">
                        <OPTION></OPTION>
                        <!--
                                                <OPTION value="0">Express (30-day free trial)</OPTION>
                                                <OPTION value="1">Classic (30-day free trial)</OPTION>
                                                <OPTION value="2">Office (30-day free trial)</OPTION>
                                                <OPTION value="3">Silver PRO (30-day free trial)</OPTION>
                                                <OPTION value="4">Gold PRO (30-day free trial)</OPTION> -->
                        <OPTION value="Platinum PRO (30-day free trial)" <? if(isset($TR_TrialMemberShip) && $TR_TrialMemberShip=="Platinum PRO (30-day free trial)"){echo "selected";}?>>Platinum PRO (30-day free trial)</OPTION>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP>&nbsp;</TD>
                    <TD ALIGN=LEFT NOWRAP CLASS=VALUE><!--<A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wo/BF5ZTTy4p91z3GZiXtU19RURSKm/2.0.32.0.0.1.9.4.33.0.0" name="606640"></a> -->
                      <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                        <TR>
                          <TD ALIGN=CENTER VALIGN=MIDDLE><INPUT fragmentIdentifier="606640" border=0 alt="Click to expand" type=image name="0.32.0.0.1.9.4.33.0.2.2.0" src="../images/rt.gif" width="7" height="12"></TD>
                          <TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE WIDTH=100%>&nbsp;Membership Benefits</TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                </TABLE>
                <?php
								}
								else
			                    {
								?>
                <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                  <TR>
                    <TD COLSPAN=2 CLASS=HEADER>&nbsp;Account&nbsp;Information</TD>
                  </TR>
                  <TR>
                    <TD WIDTH=30% CLASS=LABEL NOWRAP ALIGN=RIGHT><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Business%2520Category" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Business Category</a>:</TD>
                    <TD CLASS=INPUT WIDTH=70%><INPUT TYPE="HIDDEN" NAME="TR_BusinessCategory" VALUE="<?=$TR_BusinessCategory;?>">
                      <NOBR>
                      <SELECT style="width:99%;" name="TR_BusinessCategory">
                        <?php

									foreach($array_business_category as $key=>$value)
									{
									  
									?>
                        <OPTION <? if($key!=0){?> value="<?=$key;?>" <? }?> <? if(isset($TR_BusinessCategory) && $TR_BusinessCategory==$key){echo "selected";}?>>
                        <?=$value;?>
                        </OPTION>
                        <?php
									}
									?>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT NOWRAP CLASS=LABEL WIDTH=30%><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Business%2520Name" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Business Name</a>:</TD>
                    <TD CLASS=INPUT WIDTH=70%><INPUT TYPE="HIDDEN" NAME="TR_Company" VALUE="<?=$TR_Company;?>">
                      <NOBR>
                      <INPUT name="TR_Company" size="40" class="WIDETEXTINPUT" type="TEXT" maxlength="100" value="<? if(isset($TR_Company))echo $TR_Company;?>">
                      </NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP VALIGN=TOP><IMG  src="../images/tp.gif" width="1" height="1"><BR>
                      <A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Address" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Address</a>:</TD>
                    <TD CLASS=INPUT><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
                        <TR>
                          <TD COLSPAN=5 HEIGHT=23 VALIGN=TOP><INPUT TYPE="HIDDEN" NAME="TR_Street" VALUE="<?=$TR_Street;?>">
                            <NOBR>
                            <INPUT name="TR_Street" size="40" style="width:100%" type="TEXT" maxlength="60" value="<? if(isset($TR_Street))echo $TR_Street;?>">
                            </NOBR></TD>
                        </TR>
                        <TR>
                          <TD VALIGN=MIDDLE><INPUT TYPE="HIDDEN" NAME="TRC_City" VALUE="<?=$TRC_City;?>">
                            <NOBR>
                            <INPUT name="TRC_City" size="20" style="width:150px" type="TEXT" maxlength="40" value="<? if(isset($TRC_City))echo $TRC_City;?>">
                            </NOBR></TD>
                          <TD VALIGN=MIDDLE>,&nbsp;&nbsp;</TD>
                          <TD VALIGN=MIDDLE><INPUT TYPE="HIDDEN" NAME="TR_State" VALUE="<?=$TR_State;?>">
                            <NOBR>
                            <SELECT style="WIDTH: 50px" 
														  name=TR_State>
                              <OPTION></OPTION>
                              <?php

																    foreach($ar_states_2digits as $key=>$value)
																	{
																	  
																	?>
                              <OPTION value="<?=$value;?>" <? if(isset($TR_State) && $TR_State==$value){echo "selected";}?>>
                              <?=$value;?>
                              </OPTION>
                              <?php
																	}
																	?>
                            </SELECT>
                            <SUP></SUP></NOBR></TD>
                          <TD>&nbsp;&nbsp;</TD>
                          <TD VALIGN=MIDDLE><INPUT TYPE="HIDDEN" NAME="TR_Zip" VALUE="<?=$TR_Zip;?>">
                            <NOBR>
                            <INPUT name="TR_Zip" size="10" style="width:75px" type="TEXT" maxlength="10" value="<? if(isset($TR_Zip))echo $TR_Zip;?>">
                            </NOBR></TD>
                        </TR>
                        <TR>
                          <TD HEIGHT=23 COLSPAN=3 VALIGN=BOTTOM><INPUT TYPE="HIDDEN" NAME="TR_Country" VALUE="<?=$TR_Country;?>">
                            <NOBR>
                            <!--<SELECT style="width:100%;" name="TR_Country">
                              <OPTION></OPTION>
                              <OPTION value="USA"  <? if(isset($TR_Country) && $TR_Country=="USA"){echo "selected";}?>>United States</OPTION>
                              <OPTION value="Canada" <? if(isset($TR_Country) && $TR_Country=="Canada"){echo "selected";}?>>Canada</OPTION>
                            </SELECT> -->
							<SELECT style="width:100%;" name="TR_Country">
                              <?php

									foreach($ar_country_NA as $key=>$value)
																{
																  
																?>
                              <OPTION <? if($key!=0){ ?> value="<?=$value;?>" <? } ?> <? if(isset($TR_Country) && $TR_Country==$value){echo "selected";}?>>
                              <?=$value;?>
                              </OPTION>
                              <?php
																}
																?>
                            </SELECT>
                            <SUP></SUP></NOBR></TD>
                          <TD ALIGN=CENTER COLSPAN=2 VALIGN=BOTTOM>&nbsp;</TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Account%2520Time%2520Zone" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Time Zone</a>:</TD>
                    <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TR_TimeZone" VALUE="<?=$TR_TimeZone;?>">
                      <NOBR>
                      <SELECT style="" name="TR_TimeZone">
                        <?php

									foreach($array_time_zone_NA as $key=>$value)
									{
									  
									?>
                        <OPTION <? if($key!=0){ ?> value="<?=$value;?>" <? } ?> <? if(isset($TR_TimeZone) && $TR_TimeZone==$value){echo "selected";}?>>
                        <?=$value;?>
                        </OPTION>
                        <?php
									}
									?>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT NOWRAP CLASS=LABEL><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Membership" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Trial Membership</a>:</TD>
                    <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TR_TrialMemberShip" VALUE="<?=$TR_TrialMemberShip;?>">
                      <NOBR>
                      <SELECT style="width:99%;" name="TR_TrialMemberShip">
                        <OPTION></OPTION>
                        <!--
                                                <OPTION value="0">Express (30-day free trial)</OPTION>
                                                <OPTION value="1">Classic (30-day free trial)</OPTION>
                                                <OPTION value="2">Office (30-day free trial)</OPTION>
                                                <OPTION value="3">Silver PRO (30-day free trial)</OPTION>
                                                <OPTION value="4">Gold PRO (30-day free trial)</OPTION> -->
                        <OPTION value="Platinum PRO (30-day free trial)" <? if($TR_TrialMemberShip=="Platinum PRO (30-day free trial)"){echo "selected";}?>>Platinum PRO (30-day free trial)</OPTION>
                      </SELECT>
                      <SUP></SUP></NOBR></TD>
                  </TR>
                  <!--  -->
                  <?php
									if(isset($val) && $val=="Click to expand")
									{
									     
									?>
                  <TD ALIGN=RIGHT CLASS=LABEL NOWRAP>&nbsp;</TD>
                    <TD ALIGN=LEFT NOWRAP CLASS=VALUE><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wo/04rFSOguudbI27Ds3j70Sm0fgO4/2.0.32.0.0.1.9.4.32.0.0" name="6574240"></a>
                      <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                        <TR>
                          <TD ALIGN=CENTER VALIGN=MIDDLE><!--<INPUT fragmentIdentifier="6574240" border=0 alt="Click to collapse" type=image name="0.32.0.0.1.9.4.32.0.2.2.0" src="../images/dt.gif" width="12" height="7"> -->
                            <a href="#" onClick="refresh_page('Click to collapse');"><img  src="../images/dt.gif" width="12" height="7" alt="Click to collapse" border=0></a> </TD>
                          <TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE WIDTH=100%>&nbsp;Membership Benefits and Pricing Information</TD>
                        </TR>
                      </TABLE>
                      <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                        <TR>
                          <TD CLASS=VALUE><TABLE width="100%" border="0" cellpadding="1" cellspacing="0" class="PANELBACKGROUND">
                              <TR>
                                <TD><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2>
                                    <TR>
                                      <TD class="WHITE"><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=10>
                                          <TR>
                                            <TD ALIGN=CENTER><TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                                                <TR>
                                                  <TD>&nbsp;</TD>
                                                  <TD CLASS="HEADER" COLSPAN="3" ALIGN="CENTER">Standard Membership Packages</TD>
                                                </TR>
                                                <TR>
                                                  <TD>&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Express&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Classic&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Office&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Schedules (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>1</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>3</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>5</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Personnel (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>1</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>2</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>3</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Service Locations (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>-</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>-</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>2</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Appointments (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Customers (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Advance Scheduling&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>2 months</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>4 months</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>6 months</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Reminders&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Custom Forms&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Recurring Appointments&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Rescheduling&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Import and Export&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Personalization&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Credit&nbsp;Card&nbsp;Payments&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD>&nbsp;&nbsp;</TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD>&nbsp;&nbsp;</TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD>&nbsp;&nbsp;</TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Monthly Fee <SPAN CLASS=GRAYLINK>(USD)</SPAN>&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$6.59</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$14.75</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$21.95</TD>
                                                </TR>
                                              </TABLE>
                                              <BR>
                                              <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                                                <TR>
                                                  <TD>&nbsp;</TD>
                                                  <TD CLASS="HEADER" COLSPAN="3" ALIGN="CENTER">Professional Membership Packages</TD>
                                                </TR>
                                                <TR>
                                                  <TD>&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Silver PRO&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Gold PRO&nbsp;</TD>
                                                  <TD ALIGN="CENTER" CLASS="HEADER" NOWRAP="" WIDTH="30%">&nbsp;Platinum PRO&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Schedules (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>10</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>20</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>40</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Personnel (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>5</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>10</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>30</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Service Locations (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>5</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>10</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>20</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Appointments (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER NOWRAP CLASS=VALUE><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Customers (max)&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><SPAN CLASS=GRAYLINK>Unlimited</SPAN></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Advance Scheduling&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>12 months</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>24 months</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>36 months</TD>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Reminders&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Custom Forms&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Recurring Appointments&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Rescheduling&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Import and Export&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Personalization&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Credit&nbsp;Card&nbsp;Payments&nbsp;<SPAN CLASS=GRAYLINK>*</SPAN>&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD WIDTH=7>&nbsp;</TD>
                                                        <TD>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                        <TD WIDTH=7><SPAN CLASS=GRAYLINK>*</SPAN></TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD WIDTH=7>&nbsp;</TD>
                                                        <TD>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                        <TD WIDTH=7><SPAN CLASS=GRAYLINK>*</SPAN></TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                  <TD ALIGN=CENTER CLASS=VALUE NOWRAP><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                                      <TR>
                                                        <TD WIDTH=7>&nbsp;</TD>
                                                        <TD>&nbsp;<IMG border=0 src="../images/ys.gif" width="11" height="11">&nbsp;</TD>
                                                        <TD WIDTH=7><SPAN CLASS=GRAYLINK>*</SPAN></TD>
                                                      </TR>
                                                    </TABLE></TD>
                                                </TR>
                                                <TR>
                                                  <TD CLASS=LABEL NOWRAP>&nbsp;Monthly Fee <SPAN CLASS=GRAYLINK>(USD)</SPAN>&nbsp;</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$45.99</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$99.85</TD>
                                                  <TD ALIGN=CENTER CLASS=ACTION NOWRAP>$159.99</TD>
                                                </TR>
                                                <TR>
                                                  <TD HEIGHT=28>&nbsp;</TD>
                                                  <TD CLASS="VALUE" COLSPAN="3" ALIGN="CENTER"><SPAN CLASS=GRAYLINK>(&nbsp;*&nbsp;)&nbsp; Additional per-transaction card processing fees may apply</SPAN></TD>
                                                </TR>
                                              </TABLE>
                                              <BR></TD>
                                          </TR>
                                        </TABLE></TD>
                                    </TR>
                                  </TABLE></TD>
                              </TR>
                            </TABLE></TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <?php
									
									}
									elseif(!isset($val) || (isset($val) && $val="Click to collapse"))
									{
									   ?>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP>&nbsp;</TD>
                    <TD ALIGN=LEFT NOWRAP CLASS=VALUE><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wo/BF5ZTTy4p91z3GZiXtU19RURSKm/0.0.32.0.0.1.9.4.33.0.0" name="606640"></a>
                      <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                        <TR>
                          <TD ALIGN=CENTER VALIGN=MIDDLE><a href="#" onClick="refresh_page('Click to expand');"><img  src="../images/rt.gif" width="7" height="12" alt="Click to expand" border=0></a>
                            <!--<INPUT fragmentIdentifier="606640" border=0 alt="Click to expand" type=image name="0.32.0.0.1.9.4.33.0.2.2.0" src="../images/rt.gif" width="7" height="12"> -->
                          </TD>
                          <TD NOWRAP ALIGN=LEFT VALIGN=MIDDLE WIDTH=100%>&nbsp;Membership Benefits</TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <?php
									}
									?>
                  <!-- -->
                </TABLE>
                <?php
								}
								?>
                <TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=2>
                  <TR>
                    <TD COLSPAN=2 CLASS=HEADER>&nbsp;Administrator&nbsp;Credentials</TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP WIDTH=30%>First Name:</TD>
                    <TD CLASS=INPUT WIDTH=70%><INPUT TYPE="HIDDEN" NAME="TRFN_FirstName" VALUE="<?=$TRFN_FirstName;?>">
                      <NOBR>
                      <INPUT name="TRFN_FirstName" size="20" type="TEXT" maxlength="20" value="<? if(isset($TRFN_FirstName))echo $TRFN_FirstName;?>">
                      </NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP>Last Name:</TD>
                    <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TRFN_LastName" VALUE="<?=$TRFN_LastName;?>">
                      <NOBR>
                      <INPUT name="TRFN_LastName" size="20" type="TEXT" maxlength="20" value="<? if(isset($TRFN_LastName))echo $TRFN_LastName;?>">
                      </NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Phone" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Phone</a>:</TD>
                    <TD CLASS=INPUT><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                        <TR>
                          <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="PHR_Phone" VALUE="<?=$PHR_Phone;?>">
                            <NOBR>
                            <INPUT name="PHR_Phone" size="16" type="TEXT" maxlength="14" value="<? if(isset($PHR_Phone))echo $PHR_Phone;?>">
                            </NOBR></TD>
                          <TD CLASS=INPUT VALIGN=MIDDLE>&nbsp;&nbsp;ext.&nbsp;</TD>
                          <TD CLASS=INPUT><INPUT TYPE="HIDDEN" NAME="TR_Extension" VALUE="<?=$TR_Extension;?>">
                            <NOBR>
                            <INPUT name="TR_Extension" size="6" type="TEXT" maxlength="6" value="<? if(isset($TR_Extension))echo $TR_Extension;?>">
                            <SUP>&nbsp;(optional)&nbsp;</SUP></NOBR></TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=E%2Dmail" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">E-mail</a>:</TD>
                    <TD CLASS=INPUT><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                        <TR>
                          <TD><INPUT TYPE="HIDDEN" NAME="TREF_Email" VALUE="<?=$TREF_Email;?>">
                            <NOBR>
                            <INPUT name="TREF_Email" size="40" type="TEXT" maxlength="256" value="<? if(isset($TREF_Email))echo $TREF_Email;?>">
                            </NOBR></TD>
                          <TD><INPUT TYPE="HIDDEN" NAME="7389376" VALUE="7389376">
                            <NOBR>
                            <TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                              <TR>
                                <TD VALIGN=MIDDLE><TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>
                                    <!--<TR>
                                      <TD ALIGN=CENTER VALIGN=MIDDLE><INPUT type=radio ID="V7389376Y" value="YES" name="V7389376" checked></TD>
                                      <TD ALIGN=LEFT VALIGN=MIDDLE NOWRAP><LABEL FOR="V7389376Y">Rich Text (HTML)</LABEL>
                                        &nbsp;&nbsp;</TD>
                                      <TD ALIGN=CENTER VALIGN=MIDDLE><INPUT type=radio ID="V7389376N" value="NO" name="V7389376"></TD>
                                      <TD ALIGN=LEFT VALIGN=MIDDLE NOWRAP><LABEL FOR="V7389376N">Plain Text (ASCII)</LABEL>
                                        &nbsp;&nbsp;</TD>
                                    </TR> -->
                                  </TABLE></TD>
                                <TD VALIGN=MIDDLE NOWRAP></TD>
                              </TR>
                            </TABLE>
                            <SUP></SUP></NOBR></TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP><A href="/cgi-bin/WebObjects/BusinessEnrollment.woa/4011/wa/WSDirectHelp/article?keyword=Business%2520User%2520Username" target="AQContextHelp" class="LABELHELPLINK" tabindex="10000" onClick="window.open('about:blank','AQContextHelp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=400,height=300').focus();">Desired Username</a>:</TD>
                    <TD CLASS=INPUT><!--<INPUT TYPE="HIDDEN" NAME="TRLEN_UserName" VALUE="<?=$TRLEN_UserName;?>"> -->
                      <NOBR>
                      <INPUT name="TRLEN_UserName" size="20" type="TEXT" maxlength="20" value="<? if(isset($TRLEN_UserName))echo $TRLEN_UserName;?>">
                      </NOBR></TD>
                  </TR>
                  <TR>
                    <TD ALIGN=RIGHT CLASS=LABEL NOWRAP>Password:</TD>
                    <TD CLASS=INPUT><TABLE CELLPADDING=0 BORDER=0 CELLSPACING=0>
                        <TR>
                          <TD CLASS=INPUT><NOBR>
                            <!--<input type="hidden" name="TR_Password" value="<?=$TR_Password;?>"> -->
                            <input type="password" name="TR_Password" value="<? if(isset($TR_Password))echo $TR_Password;?>">
                            <SUP></SUP></NOBR></TD>
                          <TD CLASS=INPUT VALIGN=MIDDLE>&nbsp;&nbsp;&nbsp;Confirm&nbsp;Password:&nbsp;</TD>
                          <TD CLASS=INPUT><NOBR>
                            <input type="password" name="TR_Confirm_Password" value="<? if(isset($TR_Confirm_Password))echo $TR_Confirm_Password;?>">
                            <SUP></SUP></NOBR></TD>
                        </TR>
                      </TABLE></TD>
                  </TR>
                </TABLE>
                <CENTER>
                  <BR>
                  <TABLE border="0" cellpadding="1" cellspacing="0" class="PANELBACKGROUND">
                    <TR>
                      <TD><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=2>
                          <TR>
                            <TD class="WHITE"><TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=10>
                                <TR>
                                  <TD ALIGN=CENTER><TABLE CELLPADDING=0 CELLSPACING=3 BORDER=0>
                                      <TR>
                                        <TD>
										<INPUT name="terms"  type="checkbox" value="1">
										<!--<INPUT name="terms"  type="checkbox" onClick='objDelChecked(this)' <? if(isset($terms))echo "checked";?>> --></TD>
                                        <TD>&nbsp;
                                          <LABEL FOR="CBX002">I accept </LABEL>
                                          <A href="../terms.php" target="AQDetached" onClick="window.open('about:blank','AQDetached','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=775,height=575').focus();" class="">AppointmentQuest Terms and Conditions of Service</a>&nbsp;</TD>
                                      </TR>
                                    </TABLE></TD>
                                </TR>
                              </TABLE></TD>
                          </TR>
                        </TABLE></TD>
                    </TR>
                  </TABLE>
                  <BR>
                </CENTER></TD>
            </TR>
          </TABLE>
        </DIV>
        <TABLE ALIGN=CENTER BORDER=0 CELLSPACING=3 CELLPADDING=0>
          <TR>
            <TD><INPUT CLASS=SUBMITBUTTON type=submit value="Create Account" name="CreateAccount"></TD>
            <TD><INPUT CLASS=SUBMITBUTTON type="button" value="Cancel" name="CancelAccount" onClick="opWin()"></TD>
			<!--<TD><INPUT class=RESETBUTTON type=reset value=Reset></TD> -->
          </TR>
        </TABLE>
      </FORM></TD>
  </TR>
</TABLE>
<TABLE CELLSPACING=0 WIDTH=100% CELLPADDING=0 BORDER=0>
  <TR CLASS=NOPRINT>
    <TD COLSPAN=5 HEIGHT=1 CLASS=DIVIDER><IMG border=0 src="../images/tp.gif" width="1" height="1"></TD>
  </TR>
  <TR>
    <TD HEIGHT=20 NOWRAP COLSPAN=4 CLASS=GRAYLINK>&nbsp;&nbsp;<NOBR>Copyright &copy; 1999-2007 AppointmentQuest Online Scheduling Software.</NOBR> <NOBR>All rights reserved.</NOBR></TD>
    <TD HEIGHT=20 NOWRAP ALIGN=RIGHT CLASS=NOPRINT>&nbsp;&nbsp;<IMG border=0 align=TOP ALT="Secured by SSL" src="../images/sl.gif" width="12" height="12">&nbsp;<A href="../terms.php" target="AQDetached" onClick="window.open('about:blank','AQDetached','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=775,height=575').focus();" class="">Terms of Use</a>&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  </TR>
</TABLE>
</BODY>
</HTML>
